home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / fish / 751-760 / 753 / askfirst / askfirst.readme < prev    next >
Text File  |  1995-03-18  |  5KB  |  111 lines

  1.  
  2. Program name:  AskFirst
  3.  
  4. Written with:  Cape Assembler 2.0
  5.  
  6. Machine:       Standard Amiga 500 with OS1.3, One floppy drive,1 MByte RAM
  7.  
  8. Author:        Kamran Karimi
  9.  
  10. Source:        Included
  11.  
  12. Run methode:   From both WorkBench and Shell (As all Amiga Programs should)
  13.  
  14. What it does:  A software disk write protection.Optionally disables writes
  15. on a write-enabled floppy.  
  16.  
  17. By the way:    This is not the final version of the program! 
  18.  
  19. Program status:This program is semi-shareware meaning that I would like to 
  20. receive money, books or software if you use this program, but it is not at all
  21. obligatory for poor Amiga users (I am one of them!).
  22. I retain the CopyWrite to to the program including the source and the
  23. executable form of it.
  24.  
  25. Directory contents:
  26.  AskFirst
  27.  AskFirst.s
  28.  AskFirst.ReadMe
  29.  
  30.  
  31.  
  32.  This program is intended as a substitute for the write enable/disable notch
  33. on the 3.5" disks.My intention was to force the OS to believe that the disk
  34. is write protected eventhough the disk is in the write enable state.
  35.  
  36.  It opens a small window with a gadget which can be toggled to OK and NO 
  37. states.OK means you want to write to disks which are write enabled but NO 
  38. means you want writes to be disabled even on write enabled disks.
  39.  
  40.  AskFirst installs two routines at the DoIO and SendIO vectors and when a
  41. request comes to see whether the disk is write protected or not, the routine
  42. returns  a result  showing that  the disk IS  write protected.When you insert
  43. a disk in the drive the system obtaines information about it (its name,whether
  44. write protected or not etc.),at this time the routine tells the system that
  45. the disk is   write  protected.then  the   system  won't  let any writes
  46. on the disk. There is a drawback: the  protection will be  in effect only
  47. when the user changes the disk, not when the gadget is chosen.For example
  48. consider you have clicked the gadget to the NO state,if you want to force 
  49. the computer to believe that the disk is write protected you should take the
  50. disk out and put it in again,after that all the disks inserted would be
  51. protected from writing till you 'select OK AND make a disk change'.To help
  52. the user overcome this shortcomming, the program writes 'In Effect' when 
  53. the chosen state is in effect and 'Not In Effect' when not.In the case you
  54. see 'Not In effect', just make a disk change.Please remember that if you have
  55. more than one drive, then you should take out the disks from ALL of the drives
  56. available and then put them in again, otherwise the chosen state will show
  57. the correct situation only for the drive for which you made a disk change.
  58.  
  59.  
  60.  Important note:after executing AskFirst, some virus killer programs may say
  61. that a virus is in memory.This ofcourse is not the case.Do not try to remove
  62. AskFirst by a virus killer, it will crash the system.Note that this program
  63. will divert the DoIO and SendIO vectors at the start and restore the original 
  64. values when exiting. If you use a program like NoChange, never klick 'restore
  65. vectore' either at the start or end of the program.At the start, choosing
  66. 'restore vectores' will disable AskFirst and after it's exit will crash the
  67. computer!.  
  68.  
  69.  
  70.  When run from the shell, you can enter an optional 'no' (not case sensetive)
  71. after the program name, Then the gadget will be set to NO. 
  72.  
  73.  It would be much better if the gadget state would have effect as soon as it
  74. was chosen.Does anybody knows where the system stores the information it gets
  75. when a disk in inserted?, or do you know how we can force the system to 
  76. believe that a disk change has ocurred without actully changing the disk?.
  77. Please let me also know.
  78.  
  79.  
  80.  There is no  Cape-Specific feature in this program, so it should be possible
  81. to assemble it with other assemblers.
  82.  
  83.  I have not tested the program under any other OS version, processor or with
  84. more than one floppy.Maybe someone will test it and kindly let me know about
  85. the results.
  86.  
  87.  
  88.  You can pay for the program in three ways:
  89.  
  90. 1) Send a small donnation. 
  91.  
  92. 2) Send me computer books (especially Amiga books) ,Software or manuals you 
  93. don't need  any more, or even photocopies of articles in books or magazines
  94. containing Amiga programming guides or examples.
  95.  Here in Iran I have not much access to information on the Amiga so I would
  96. apreciate receiving technical information in any form. 
  97.  
  98. 3)Send me bug reports and mention the weak points of the program and the ways
  99. to improve it.My main reason of writing programs is to learn more.
  100.  
  101.  
  102.  Send any bugs you find or any suggestions or donnations to
  103.  
  104.                Kamran Karimi
  105.                2,Hassanabad
  106.                Haghshenas  str.
  107.                Navab       str.
  108.                13599 - Tehran
  109.                Iran
  110.  
  111.